/**
 * @file 用于存储types
 */

// 文件树菜单状态相关type
const HAP_FILE_MENU_STATE = 'HAP_FILE_MENU_STATE'

// 文件内容相关type
const HAP_FILE_SELECTED_FILE = 'HAP_FILE_SELECTED_FILE'

// MemoryFs相关APItype
const HAP_MEM_FS_MKDIRPSYNC = 'HAP_MEM_FS_MKDIRPSYNC'
const HAP_MEM_FS_MKDIRSYNC = 'HAP_MEM_FS_MKDIRSYNC'
const HAP_MEM_FS_RMDIRSYNC = 'HAP_MEM_FS_RMDIRSYNC'
const HAP_MEM_FS_WRITEFILESYNC = 'HAP_MEM_FS_WRITEFILESYNC'
const HAP_MEM_FS_UNLINKSYNC = 'HAP_MEM_FS_UNLINKSYNC'
const HAP_MEM_FS_READFILESYNC = 'HAP_MEM_FS_READFILESYNC'

// TOAST 相关type
const HAP_TOAST_ADD = 'HAP_TOAST_ADD'
const HAP_TOAST_REMOVE = 'HAP_TOAST_REMOVE'
const HAP_TOAST_FINISH = 'HAP_TOAST_FINISH'

export default {
  // 右键菜单
  HAP_FILE_MENU_STATE,
  HAP_FILE_SELECTED_FILE,
  // MemoryFs相关APItype
  HAP_MEM_FS_MKDIRPSYNC,
  HAP_MEM_FS_MKDIRSYNC,
  HAP_MEM_FS_RMDIRSYNC,
  HAP_MEM_FS_WRITEFILESYNC,
  HAP_MEM_FS_UNLINKSYNC,
  HAP_MEM_FS_READFILESYNC,
  // toast相关type
  HAP_TOAST_FINISH,
  HAP_TOAST_ADD,
  HAP_TOAST_REMOVE
}
